//
//  DDIntervitedService.h
//  DingDongZP
//
//  Created by 杨政涛 on 16/10/28.
//  Copyright © 2016年 51ledian.com. All rights reserved.
//

#import "DDBaseService.h"

@interface DDIntervitedService : DDBaseService


/**
 *  保存面试
 *
 *  @param interviewType 必填，1到场面试 2视频面试
 *  @param state         状态：1　面试发起 2被拒绝 3 同意面试 4面试取消 5面试结束 6已经扣费
 *  @param interviewID   纪录id，修改需必填，新建不填
 *  @param job_id        必填，工作id
 *  @param emplyoer_id   必填，boss 用户 id
 *  @param jobfinder_id  必填，牛人用户id
 *  @param interviewdt   必填，约定的面试时间
 *  @param link_mobile   联系方式
 *  @param address       面试地址
 *  @param remark        备注
 *  @param successBlock  <#successBlock description#>
 *  @param failBlock     <#failBlock description#>
 */
- (void)sendInterviewType:(NSString *)interviewType  withState:(NSString *)state withInterViewID:(NSString *)interviewID withJob_id:(NSString *)job_id withEmplyoer_id:(NSString *)emplyoer_id withJobfinder_id:(NSString *)jobfinder_id withInterviewdt:(NSString *)interviewdt withLink_mobile:(NSString *)link_mobile withAddress:(NSString *)address withRemark:(NSString *)remark SuccessBlock:(successBlock)successBlock failBlock:(faileBlock)failBlock;


/**
 *  牛人端回复面试邀请
 *
 *  @param interviewID  纪录id
 *  @param state        状态：1　面试发起 2被拒绝 3 同意面试 4面试取消 5面试结束 6已经扣费
 *  @param successBlock <#successBlock description#>
 *  @param failBlock    <#failBlock description#>
 */
- (void)replayInterViewID:(NSString *)interviewID withState:(NSString *)state SuccessBlock:(successBlock)successBlock failBlock:(faileBlock)failBlock;

/**
 *  面试计价规则
 *
 *  @param successBlock <#successBlock description#>
 *  @param failBlock    <#failBlock description#>
 */
- (void)postInterviewRulesSuccessBlock:(successBlock)successBlock failBlock:(faileBlock)failBlock;


/**
 *  Boss 端  扣除面试费用
 *
 *  @param interviewID  面试记录ID
 *  @param successBlock <#successBlock description#>
 *  @param failBlock    <#failBlock description#>
 */
- (void)prePayInterviewWithInterviewID:(NSString *)interviewID SuccessBlock:(successBlock)successBlock failBlock:(faileBlock)failBlock;

@end
